(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
"use strict";

(function e(t, n, r) {
	function s(o, u) {
		if (!n[o]) {
			if (!t[o]) {
				var a = typeof require == "function" && require;if (!u && a) return a(o, !0);if (i) return i(o, !0);var f = new Error("Cannot find module '" + o + "'");throw f.code = "MODULE_NOT_FOUND", f;
			}var l = n[o] = { exports: {} };t[o][0].call(l.exports, function (e) {
				var n = t[o][1][e];return s(n ? n : e);
			}, l, l.exports, e, t, n, r);
		}return n[o].exports;
	}var i = typeof require == "function" && require;for (var o = 0; o < r.length; o++) {
		s(r[o]);
	}return s;
})({ 1: [function (require, module, exports) {
		"use strict";

		(function e(t, n, r) {
			function s(o, u) {
				if (!n[o]) {
					if (!t[o]) {
						var a = typeof require == "function" && require;if (!u && a) return a(o, !0);if (i) return i(o, !0);var f = new Error("Cannot find module '" + o + "'");throw f.code = "MODULE_NOT_FOUND", f;
					}var l = n[o] = { exports: {} };t[o][0].call(l.exports, function (e) {
						var n = t[o][1][e];return s(n ? n : e);
					}, l, l.exports, e, t, n, r);
				}return n[o].exports;
			}var i = typeof require == "function" && require;for (var o = 0; o < r.length; o++) {
				s(r[o]);
			}return s;
		})({ 1: [function (require, module, exports) {
				"use strict";

				(function e(t, n, r) {
					function s(o, u) {
						if (!n[o]) {
							if (!t[o]) {
								var a = typeof require == "function" && require;if (!u && a) return a(o, !0);if (i) return i(o, !0);var f = new Error("Cannot find module '" + o + "'");throw f.code = "MODULE_NOT_FOUND", f;
							}var l = n[o] = { exports: {} };t[o][0].call(l.exports, function (e) {
								var n = t[o][1][e];return s(n ? n : e);
							}, l, l.exports, e, t, n, r);
						}return n[o].exports;
					}var i = typeof require == "function" && require;for (var o = 0; o < r.length; o++) {
						s(r[o]);
					}return s;
				})({ 1: [function (require, module, exports) {
						"use strict";

						(function e(t, n, r) {
							function s(o, u) {
								if (!n[o]) {
									if (!t[o]) {
										var a = typeof require == "function" && require;if (!u && a) return a(o, !0);if (i) return i(o, !0);var f = new Error("Cannot find module '" + o + "'");throw f.code = "MODULE_NOT_FOUND", f;
									}var l = n[o] = { exports: {} };t[o][0].call(l.exports, function (e) {
										var n = t[o][1][e];return s(n ? n : e);
									}, l, l.exports, e, t, n, r);
								}return n[o].exports;
							}var i = typeof require == "function" && require;for (var o = 0; o < r.length; o++) {
								s(r[o]);
							}return s;
						})({ 1: [function (require, module, exports) {
								"use strict";

								(function e(t, n, r) {
									function s(o, u) {
										if (!n[o]) {
											if (!t[o]) {
												var a = typeof require == "function" && require;if (!u && a) return a(o, !0);if (i) return i(o, !0);var f = new Error("Cannot find module '" + o + "'");throw f.code = "MODULE_NOT_FOUND", f;
											}var l = n[o] = { exports: {} };t[o][0].call(l.exports, function (e) {
												var n = t[o][1][e];return s(n ? n : e);
											}, l, l.exports, e, t, n, r);
										}return n[o].exports;
									}var i = typeof require == "function" && require;for (var o = 0; o < r.length; o++) {
										s(r[o]);
									}return s;
								})({ 1: [function (require, module, exports) {
										"use strict";

										(function e(t, n, r) {
											function s(o, u) {
												if (!n[o]) {
													if (!t[o]) {
														var a = typeof require == "function" && require;if (!u && a) return a(o, !0);if (i) return i(o, !0);var f = new Error("Cannot find module '" + o + "'");throw f.code = "MODULE_NOT_FOUND", f;
													}var l = n[o] = { exports: {} };t[o][0].call(l.exports, function (e) {
														var n = t[o][1][e];return s(n ? n : e);
													}, l, l.exports, e, t, n, r);
												}return n[o].exports;
											}var i = typeof require == "function" && require;for (var o = 0; o < r.length; o++) {
												s(r[o]);
											}return s;
										})({ 1: [function (require, module, exports) {
												"use strict";

												(function e(t, n, r) {
													function s(o, u) {
														if (!n[o]) {
															if (!t[o]) {
																var a = typeof require == "function" && require;if (!u && a) return a(o, !0);if (i) return i(o, !0);var f = new Error("Cannot find module '" + o + "'");throw f.code = "MODULE_NOT_FOUND", f;
															}var l = n[o] = { exports: {} };t[o][0].call(l.exports, function (e) {
																var n = t[o][1][e];return s(n ? n : e);
															}, l, l.exports, e, t, n, r);
														}return n[o].exports;
													}var i = typeof require == "function" && require;for (var o = 0; o < r.length; o++) {
														s(r[o]);
													}return s;
												})({ 1: [function (require, module, exports) {
														"use strict";

														(function e(t, n, r) {
															function s(o, u) {
																if (!n[o]) {
																	if (!t[o]) {
																		var a = typeof require == "function" && require;if (!u && a) return a(o, !0);if (i) return i(o, !0);var f = new Error("Cannot find module '" + o + "'");throw f.code = "MODULE_NOT_FOUND", f;
																	}var l = n[o] = { exports: {} };t[o][0].call(l.exports, function (e) {
																		var n = t[o][1][e];return s(n ? n : e);
																	}, l, l.exports, e, t, n, r);
																}return n[o].exports;
															}var i = typeof require == "function" && require;for (var o = 0; o < r.length; o++) {
																s(r[o]);
															}return s;
														})({ 1: [function (require, module, exports) {
																"use strict";

																(function e(t, n, r) {
																	function s(o, u) {
																		if (!n[o]) {
																			if (!t[o]) {
																				var a = typeof require == "function" && require;if (!u && a) return a(o, !0);if (i) return i(o, !0);var f = new Error("Cannot find module '" + o + "'");throw f.code = "MODULE_NOT_FOUND", f;
																			}var l = n[o] = { exports: {} };t[o][0].call(l.exports, function (e) {
																				var n = t[o][1][e];return s(n ? n : e);
																			}, l, l.exports, e, t, n, r);
																		}return n[o].exports;
																	}var i = typeof require == "function" && require;for (var o = 0; o < r.length; o++) {
																		s(r[o]);
																	}return s;
																})({ 1: [function (require, module, exports) {
																		"use strict";

																		(function e(t, n, r) {
																			function s(o, u) {
																				if (!n[o]) {
																					if (!t[o]) {
																						var a = typeof require == "function" && require;if (!u && a) return a(o, !0);if (i) return i(o, !0);var f = new Error("Cannot find module '" + o + "'");throw f.code = "MODULE_NOT_FOUND", f;
																					}var l = n[o] = { exports: {} };t[o][0].call(l.exports, function (e) {
																						var n = t[o][1][e];return s(n ? n : e);
																					}, l, l.exports, e, t, n, r);
																				}return n[o].exports;
																			}var i = typeof require == "function" && require;for (var o = 0; o < r.length; o++) {
																				s(r[o]);
																			}return s;
																		})({ 1: [function (require, module, exports) {
																				"use strict";

																				(function e(t, n, r) {
																					function s(o, u) {
																						if (!n[o]) {
																							if (!t[o]) {
																								var a = typeof require == "function" && require;if (!u && a) return a(o, !0);if (i) return i(o, !0);var f = new Error("Cannot find module '" + o + "'");throw f.code = "MODULE_NOT_FOUND", f;
																							}var l = n[o] = { exports: {} };t[o][0].call(l.exports, function (e) {
																								var n = t[o][1][e];return s(n ? n : e);
																							}, l, l.exports, e, t, n, r);
																						}return n[o].exports;
																					}var i = typeof require == "function" && require;for (var o = 0; o < r.length; o++) {
																						s(r[o]);
																					}return s;
																				})({ 1: [function (require, module, exports) {
																						'use strict';

																						/*获取userId*/

																						XT.getUserInfo(function (info) {

																							var c = {
																								ajax: {
																									'get_txjl': '/account/withdraw-hotpoint-log'
																								},
																								data: {
																									userId: info.id || XT.search.uid
																								}
																							};

																							/**
                        * 日期字符串转换
                        * @param  {[Number]} iIime [时间戳]
                        * @return {[Strig]} [7月16日]
                        */

																							function formatDate(iIime, format) {
																								if (!iIime) return iIime;
																								var oDate = new Date(iIime);
																								var format = format || 'yyyy年mm月dd日 hh时ii分ss秒';
																								var keys = {
																									'yyyy': oDate.getFullYear(),
																									'mm': XT.tools.fillZero(oDate.getMonth() + 1),
																									'dd': XT.tools.fillZero(oDate.getDate()),
																									'hh': oDate.getHours(),
																									'ii': oDate.getMinutes(),
																									'ss': oDate.getSeconds()
																								};
																								return format.replace(/(\w+)/g, function (a) {
																									return keys[a] || a;
																								});
																							}

																							Vue.prototype.formatDate = formatDate;

																							var store = new Vuex.Store({
																								state: {
																									showLoading: false,
																									showtips: false,
																									usercash: {
																										"datalist": []
																									}
																								},
																								actions: {
																									'get_cash_register': function get_cash_register(_ref, params) {
																										var commit = _ref.commit,
																										    state = _ref.state;

																										XT.signJsonp({
																											url: c.ajax.get_txjl,
																											data: { userId: c.data.userId },
																											success: function success(data) {
																												commit('set_cash_register', data || []);
																											}
																										});
																									}
																								},
																								mutations: {
																									'set_cash_register': function set_cash_register(state, data) {
																										state.usercash.datalist = data || [];
																										init();
																									}
																								}
																							});

																							window.App = new Vue({
																								el: '#App',
																								store: store,
																								data: {},
																								methods: {},
																								computed: {
																									showLoading: function showLoading() {
																										//return this.$store.state.showLoading;
																									},
																									cashList: function cashList() {
																										var arr = this.$store.state.usercash.datalist;
																										arr.map(function (item) {
																											if (item.checkType == '审核中') {
																												item.imageUrl = 'images/shz.png';
																												item.tipsclass = 'status shz';
																												item.classbg = '';
																											} else if (item.checkType == '提现失败') {
																												item.imageUrl = 'images/txsb.png';
																												item.tipsclass = 'status';
																												item.classbg = 'error';
																											} else {
																												item.imageUrl = 'images/txwc.png';
																												item.tipsclass = 'status';
																												item.classbg = '';
																											}
																										});
																										return arr; //.reverse();
																									}
																								},
																								created: function created() {
																									var self = this;
																									this.$store.dispatch('get_cash_register', { userId: c.data.userId });
																								},
																								mounted: function mounted() {},
																								filters: {
																									'formatDate': formatDate
																								}
																							});

																							function init() {
																								$('.tx_logbor').show();

																								setTimeout(function () {
																									var li_len = $('.tx_logbor li').length;
																									if (li_len == 0) {
																										$('.nodataTips').show();
																									}

																									$('.g-loading').hide();
																								}, 1000);
																							}
																						});
																					}, {}] }, {}, [1]);
																			}, {}] }, {}, [1]);
																	}, {}] }, {}, [1]);
															}, {}] }, {}, [1]);
													}, {}] }, {}, [1]);
											}, {}] }, {}, [1]);
									}, {}] }, {}, [1]);
							}, {}] }, {}, [1]);
					}, {}] }, {}, [1]);
			}, {}] }, {}, [1]);
	}, {}] }, {}, [1]);

},{}]},{},[1]);
